package watercalc;

import java.util.LinkedList;

public class Vertex {
	public int height;
	public int capacity;
	public boolean stable; // marks whether this vertex capacity is temporary or final
	public LinkedList<Vertex> neighbours;
	
	Vertex() {
		height = 0;
		capacity = 0;
		stable = true;
		neighbours = new LinkedList<Vertex>(); 
	}

	Vertex(int iHeight) {
		height = iHeight;
		capacity = 0;
		stable = false;
		neighbours = new LinkedList<Vertex>(); 
	}
};
